{{partial('public/header')}}
<div class="midder">
<div class="mc">
<h1>
<div class="head-nav">
    <span class="head-title">
    {{seo.title}}
    </span>
    <p></p>
</div>
</h1>    
         
<div class="cleft">
	{% if arrExplore %}
    {% for item in arrExplore %}
    <div class="channel-item">
    <div class="likes">{{item['count_like']}}<br>喜欢</div>
    <div class="bd">
      <h3><a href="{{url('group/topic/'~item['topicid'])}}">{{item['title']}}</a></h3>
      <div class="block">
        {% if item['isphoto'] %}
        <div class="pic">
          <div class="pic-wrap">
            <img src="{{item['headimg']}}">
          </div>
        </div>
        {% endif %}
        <p>{{sub_str(clearText(item['content']),300)}} <a href="{{url('group/topic/'~item['topicid'])}}#comment">回应({{item['count_comment']}})</a></p></div>
      <div class="source">
        
        <span class="from">来自<a href="{{url('group/show/'~item['groupid'])}}">{{item['groupname']}}</a></span>
        <span class="pubtime">{{getTime(item['uptime'],time())}}</span>
        <span class="pubtime" style="padding-left:10px;">阅读 {{item['count_view']}}</span>
        <span class="pubtime" style="padding-left:10px;">推荐 {{item['count_recommend']}}</span>
        
      </div>
    </div>
    </div>
	{% endfor %}
    {% endif %}

	<div class="page">{{pageUrl}}</div>

</div>
    
<div class="cright" id="cright">   
      
	<div class="mod channel-group-rec">
        <div class="hd">
            <h2>
              值得加入的小组
            </h2>
        </div>
    <div class="bd">
      <ul>
{% for item in arrEssence %}        
  <li class="">
    <div class="pic">
      <a href="{{url('group/show/'~item['groupid'])}}"><img class="" src="{{item['icon_48']}}"></a>
    </div>
    <div class="info">
      <div class="title">
        <a class="" href="{{url('group/show/'~item['groupid'])}}">{{item['groupname']}}</a>
      </div>
      <span class="num">
      {{item['count_user']}}个成员  
      </span>
      <span class="join">
{% if item['joinway']==0 and !item['isGroupUser']%}
{% if !visitor %}
<a class="i a_show_login lnk-join" href="{{url('group/manage/join/'~item['groupid'])}}"><i>+</i>加入小组</a>
{% else %}
<a class="lnk-join" href="{{url('group/manage/join/'~item['groupid'])}}"><i>+</i>加入小组</a>                        
{% endif %}
{% else %}
<span class="joined">√已加入</span>
{% endif %}
      </span>
    </div>
  </li>
{% endfor %}	

      </ul>
    </div>
  </div>              

</div>
 
 
    
</div><!--//mc-->
</div>                

